import Router from "@/router";
import { SWRConfig } from "swr";
import { RecoilRoot } from "recoil";

function App() {
  return (
    <RecoilRoot>
      <SWRConfig value={{ shouldRetryOnError: false, revalidateOnFocus: false }}>
        <Router />
      </SWRConfig>
    </RecoilRoot>
  );
}

export default App;
